package udp

/*
func BeginKCP(seq uint32, udpConn *net.UDPConn, pAddr *net.UDPAddr) {
	key := pbkdf2.Key([]byte("demo pass"), []byte("demo salt"), 1024, 32, sha1.New)
	block, _ := kcp.NewAESBlockCrypt(key)
	//func NewConn3(convid uint32, raddr net.Addr, block BlockCrypt, dataShards, parityShards int, conn net.PacketConn)
	kcp.NewConn3(seq, *pAddr, block, 10, 3, *udpConn)
}*/
